package libnetdb.dm.assoc.base;

/**
 * <code>RuleCollector</code> is used in the rule set for collecting
 * rules.
 *
 * @author Cheng-Ru Lin
 * @version 1.0
 */
public interface RuleCollector {

    /**
     * Invoked when one new rule need to be added.
     *
     * @param rule the assocation to be added
     * @return true if more rules needed; false, otherwise.
     */
    public boolean addRule(Rule rule);
}